#ifndef CLASS_DATA_BASE_WINDOW
#define CLASS_DATA_BASE_WINDOW

#include <WindowBase.h>
#include <QTreeWidget>
//bug,这个类和ClassDataBase之间的从属关系就比较复杂了，后期可以思考如何解决这个问题
class ClassDataBaseWindow : public WindowBase
{
    Q_OBJECT
public:
    ClassDataBaseWindow(QWidget *parent = 0);
    virtual ~ClassDataBaseWindow();
	virtual Qt::DockWidgetArea dockWidgetArea();
    virtual void setUpInitialShowHide();
    void refreshTreeWidget();
    QString currentClassType();//获得当前类类型，用于生成节点
public slots:
    void windowShowSlot(bool checked);
private:
    QTreeWidget* m_treeWidget;
};



#endif // CLASS_DATA_BASE_WINDOW
